package tag1;

import java.io.IOException;
import java.io.Writer;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.JspFragment;
import javax.servlet.jsp.tagext.SimpleTagSupport;

public class SimpleTag1 extends SimpleTagSupport {
	@Override
	public void doTag() throws JspException, IOException {
		JspFragment body = getJspBody();
		Writer out = getJspContext().getOut();
		for (int i = 0; i < 5; i++) {
			out.write("sdfdsf"+(body==null?"":body.toString())+"<br>");
		}
		super.doTag();
	}
}
